package com.tengfei.main.question.domain.export;

import com.alibaba.excel.annotation.ExcelProperty;
import com.tengfei.common.annotation.ExcelDictFormat;
import com.tengfei.common.convert.ExcelDictConvert;
import com.tengfei.common.utils.poi.select.ExcelSelected;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author feige
 * @version v1.0
 * @date 2022-11-08-12:49
 * @description
 */

@Data
@NoArgsConstructor
public class SubImportVo implements Serializable {


    /**
     * 主观题内容
     */
    @ExcelProperty(value = "主观题内容")
    private String subContent;

    /**
     * 主观题类型
     */
    @ExcelProperty(value = "主观题类型", converter = ExcelDictConvert.class,index = 1)
    @ExcelDictFormat(dictType = "sub_qu_type")
    @ExcelSelected(source = {"填空题","简答题"})
    private Integer subType;

    /**
     * 难度等级
     */
    @ExcelProperty(value = "难度等级(1~5)")
    private Integer subGrand;

    /**
     * 知识点
     */
    @ExcelProperty(value = "知识点(用逗号隔开,最多两个)")
    private String subTag;


    /**
     * 答案
     */
    @ExcelProperty(value = "答案")
    private String subAnswer;

    /**
     * 题目解析
     */
    @ExcelProperty(value = "题目解析")
    private String subAnswerContent;



}
